-
Notifications
You must be signed in to change notification settings - Fork 10.6k
[metadata prespecialization] Search for canonical records in getGenericMetadata. #33465
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
@swift-ci please test |
|
Build failed |
|
Build failed |
1f2d4bc to
aa41a12
Compare
|
@swift-ci please test |
1 similar comment
|
@swift-ci please test |
|
@swift-ci please test windows |
|
Build failed |
ce9c09c to
e021a36
Compare
|
@swift-ci please test and merge |
1 similar comment
|
@swift-ci please test and merge |
Previously, the metadata accessor for which canonical prespecializations had been formed included checks against the passed-in arguments to determine whether the access matched a prespecialized record or not. Now that the prespecialized records are attached to the nominal type descriptor for the type, eliminate this hard-coded generated code and instead let swift_getGenericMetadata do the work of looking through the prespecializations.
e021a36 to
409bc9d
Compare
|
@swift-ci please test and merge |
1 similar comment
|
@swift-ci please test and merge |
Previously, the metadata accessor for which canonical prespecializations had been formed included checks against the passed-in arguments to determine whether the access matched a prespecialized record or not.
Now that the prespecialized records are attached to the nominal type descriptor for the type, eliminate this hard-coded generated code and instead let swift_getGenericMetadata do the work of looking through the prespecializations.
Depends on #33442 .